package com.hui.model.auth;

import io.swagger.annotations.ApiModel;
import lombok.Data;
import org.hibernate.validator.constraints.NotBlank;

import java.io.Serializable;


/**
 * 注册参数
 **/
@ApiModel(
        value = "RegParam (注册参数)",
        description = "注册参数"
)
@Data
public class RegParam implements Serializable {

    @NotBlank(message = "手机号必填")
    private String account;

    @NotBlank(message = "验证码必填")
    private String captcha;

    @NotBlank(message = "密码必填")
    private String password;

    private String nickname; //用户昵称

}
